-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: fin_flutter_analysis doesn't find any fin set #510
Conversation
I am still working on unit tests to prevent from future occasions. Please don't review it yet |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #510 +/- ##
===========================================
+ Coverage 71.30% 72.02% +0.72%
===========================================
Files 56 56
Lines 9374 9370 -4
===========================================
+ Hits 6684 6749 +65
+ Misses 2690 2621 -69
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
|
||
# First, we need identify if there is at least a fin set in the rocket | ||
for aero_surface in flight.rocket.aerodynamic_surfaces: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to make reviewer's life easier: this was the problematic code line. The aerodynamic_surfaces is no longer a list of surfaces, instead it is a list of components;
9923980
to
5390478
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good to see these tests reintroduced, let's hope they don't give the same headaches as before.
5390478
to
af6b630
Compare
Pull request type
Checklist
black rocketpy/ tests/
) has passed locallypytest --runslow
) have passed locallyCHANGELOG.md
has been updated (if relevant)Current behavior
This bug was reported through discord yesterday:
Also, the tests for the
fin_flutter_analysis
were deactivated since they were not passing.New behavior
Breaking change
Additional information
This feature works only for trapezoidal fins, that's said.
Also, we should improve the documentation in the future, try to give some more examples.